package com.hyt.it.ogt.kq.service.gov.feign.ua.model;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * @description : 权限平台用户数据传输对象
 * @author : wangg
 * @date :2021/11/27
 */
@Data
@Accessors(chain = true)
@ApiModel(value = "户数据传输对象")
public class UserInfoDTO implements Serializable {

    private String id;

    private String loginname;

    private String name;

    private String password;

    private String phone;

    private String email;

    private String profilephoto;

    private String usertype;

    private String organizationid;

    private String openid;

    @ApiModelProperty(value = "验证码")
    private String captcha;

    @ApiModelProperty(value = "手机号或邮箱")
    private String content;

    @ApiModelProperty(value = "新密码")
    private String newpassword;

    @ApiModelProperty(value = "每页显示条数，默认 10")
    private Long size;

    @ApiModelProperty(value = "当前页")
    private Integer current;

    @ApiModelProperty(value = "机构id")
    private String officeId;

    @ApiModelProperty(value = "部门id")
    private String deptId;

    @ApiModelProperty(value = "机构名称")
    private String officeName;

    @ApiModelProperty(value = "用户名")
    private String userName;

    @ApiModelProperty(value = "角色id")
    private String roleId;

    @ApiModelProperty(value = "角色名")
    private String roleName;

    @ApiModelProperty(value = "状态(false:停用，true:启用)")
    private boolean status;
}